package com.ncu.mapper;

import com.ncu.pojo.Emp;

import java.util.List;

public interface EmpMapper {

    public List<Emp> findAll();


    public List<Emp> findAllDept();

    public int saveEmp(Emp emp);

    public List<Emp> checkEmpName(String empName);

    public Emp findEmpById(int empId);


    public int updateEmp(Emp emp);

    public int deleteEmp(int empId);

    public int deleteBatch(List<Integer> listEmp);



}
